using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace DataLayer.Model
{
    public class IndoorExercisePersonal
    {
        [Key]
        public int Id { get; set; }

        public virtual Player IdPlayer { get; set; }

        public int IdExerciseType { get; set; }

        public DateTime ActivationDate { get; set; }

        public string Name { get; set; }

        public int Difficulty { get; set; }

        public int? Time { get; set; }

        public int? Repetitions { get; set; }

        public int HoldingTime { get; set; }

        public double? SpawningInterval { get; set; }

        public int? AliveTime { get; set; }

        public string Parameters { get; set; }

        public virtual IndoorExerciseType IndoorExerciseType { get; set; }

        public virtual ICollection<IndoorExerciseResult> IndoorExerciseResults { get; set; }

        public IndoorExercisePersonal()
        {
            this.IndoorExerciseResults = new List<IndoorExerciseResult>();
        }
    }
}
